RedisTypedCommandQueue<T>
Queue of commands for redis typed client
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class RedisTypedCommandQueue<T> : RedisQueueCompletableOperation
Methods
QueueCommand(Action<IRedisTypedClient<T>>)
View Source
Declaration
public void QueueCommand(Action<IRedisTypedClient<T>> command)
Parameters
Type | Name |
---|---|
System.Action<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>> | command |
QueueCommand(Action<IRedisTypedClient<T>>, Action)
View Source
Declaration
public void QueueCommand(Action<IRedisTypedClient<T>> command, Action onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Action<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>> | command |
System.Action | onSuccessCallback |
QueueCommand(Action<IRedisTypedClient<T>>, Action, Action<Exception>)
View Source
Declaration
public void QueueCommand(Action<IRedisTypedClient<T>> command, Action onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Action<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>> | command |
System.Action | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, Int32>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, int> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Int32> | command |
QueueCommand(Func<IRedisTypedClient<T>, Int32>, Action<Int32>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, int> command, Action<int> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Int32> | command |
System.Action<System.Int32> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, Int32>, Action<Int32>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, int> command, Action<int> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Int32> | command |
System.Action<System.Int32> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, Int64>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, long> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Int64> | command |
QueueCommand(Func<IRedisTypedClient<T>, Int64>, Action<Int64>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, long> command, Action<long> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Int64> | command |
System.Action<System.Int64> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, Int64>, Action<Int64>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, long> command, Action<long> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Int64> | command |
System.Action<System.Int64> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, Boolean>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, bool> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Boolean> | command |
QueueCommand(Func<IRedisTypedClient<T>, Boolean>, Action<Boolean>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, bool> command, Action<bool> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Boolean> | command |
System.Action<System.Boolean> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, Boolean>, Action<Boolean>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, bool> command, Action<bool> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Boolean> | command |
System.Action<System.Boolean> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, Double>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, double> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Double> | command |
QueueCommand(Func<IRedisTypedClient<T>, Double>, Action<Double>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, double> command, Action<double> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Double> | command |
System.Action<System.Double> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, Double>, Action<Double>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, double> command, Action<double> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Double> | command |
System.Action<System.Double> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, Byte[]>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, byte[]> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Byte[]> | command |
QueueCommand(Func<IRedisTypedClient<T>, Byte[]>, Action<Byte[]>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, byte[]> command, Action<byte[]> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Byte[]> | command |
System.Action<System.Byte[]> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, Byte[]>, Action<Byte[]>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, byte[]> command, Action<byte[]> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Byte[]> | command |
System.Action<System.Byte[]> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, String>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, string> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.String> | command |
QueueCommand(Func<IRedisTypedClient<T>, String>, Action<String>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, string> command, Action<string> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.String> | command |
System.Action<System.String> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, String>, Action<String>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, string> command, Action<string> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.String> | command |
System.Action<System.String> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, T>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, T> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,<T>> | command |
QueueCommand(Func<IRedisTypedClient<T>, T>, Action<T>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, T> command, Action<T> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,<T>> | command |
System.Action<<T>> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, T>, Action<T>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, T> command, Action<T> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,<T>> | command |
System.Action<<T>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, Byte[][]>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, byte[][]> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Byte[][]> | command |
QueueCommand(Func<IRedisTypedClient<T>, Byte[][]>, Action<Byte[][]>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, byte[][]> command, Action<byte[][]> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Byte[][]> | command |
System.Action<System.Byte[][]> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, Byte[][]>, Action<Byte[][]>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, byte[][]> command, Action<byte[][]> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Byte[][]> | command |
System.Action<System.Byte[][]> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, List<String>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, List<string>> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.List<System.String>> | command |
QueueCommand(Func<IRedisTypedClient<T>, List<String>>, Action<List<String>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, List<string>> command, Action<List<string>> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.List<System.String>> | command |
System.Action<System.Collections.Generic.List<System.String>> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, List<String>>, Action<List<String>>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, List<string>> command, Action<List<string>> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.List<System.String>> | command |
System.Action<System.Collections.Generic.List<System.String>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, List<T>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, List<T>> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.List<<T>>> | command |
QueueCommand(Func<IRedisTypedClient<T>, List<T>>, Action<List<T>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, List<T>> command, Action<List<T>> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.List<<T>>> | command |
System.Action<System.Collections.Generic.List<<T>>> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, List<T>>, Action<List<T>>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, List<T>> command, Action<List<T>> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.List<<T>>> | command |
System.Action<System.Collections.Generic.List<<T>>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, HashSet<String>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, HashSet<string>> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.HashSet<System.String>> | command |
QueueCommand(Func<IRedisTypedClient<T>, HashSet<String>>, Action<HashSet<String>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, HashSet<string>> command, Action<HashSet<string>> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.HashSet<System.String>> | command |
System.Action<System.Collections.Generic.HashSet<System.String>> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, HashSet<String>>, Action<HashSet<String>>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, HashSet<string>> command, Action<HashSet<string>> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.HashSet<System.String>> | command |
System.Action<System.Collections.Generic.HashSet<System.String>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClient<T>, HashSet<T>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, HashSet<T>> command)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.HashSet<<T>>> | command |
QueueCommand(Func<IRedisTypedClient<T>, HashSet<T>>, Action<HashSet<T>>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, HashSet<T>> command, Action<HashSet<T>> onSuccessCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.HashSet<<T>>> | command |
System.Action<System.Collections.Generic.HashSet<<T>>> | onSuccessCallback |
QueueCommand(Func<IRedisTypedClient<T>, HashSet<T>>, Action<HashSet<T>>, Action<Exception>)
View Source
Declaration
public void QueueCommand(Func<IRedisTypedClient<T>, HashSet<T>> command, Action<HashSet<T>> onSuccessCallback, Action<Exception> onErrorCallback)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClient<<T>>,System.Collections.Generic.HashSet<<T>>> | command |
System.Action<System.Collections.Generic.HashSet<<T>>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
Inherited Methods
AddCurrentQueuedOperation()
View Source
Declaration
protected virtual void AddCurrentQueuedOperation()
CompleteBytesQueuedCommand(Func<Byte[]>)
View Source
Declaration
public virtual void CompleteBytesQueuedCommand(Func<byte[]> bytesReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.Byte[]> | bytesReadCommand |
CompleteDoubleQueuedCommand(Func<Double>)
View Source
Declaration
public virtual void CompleteDoubleQueuedCommand(Func<double> doubleReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.Double> | doubleReadCommand |
CompleteIntQueuedCommand(Func<Int32>)
View Source
Declaration
public virtual void CompleteIntQueuedCommand(Func<int> intReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.Int32> | intReadCommand |
CompleteLongQueuedCommand(Func<Int64>)
View Source
Declaration
public virtual void CompleteLongQueuedCommand(Func<long> longReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.Int64> | longReadCommand |
CompleteMultiBytesQueuedCommand(Func<Byte[][]>)
View Source
Declaration
public virtual void CompleteMultiBytesQueuedCommand(Func<byte[][]> multiBytesReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.Byte[][]> | multiBytesReadCommand |
CompleteMultiStringQueuedCommand(Func<List<String>>)
View Source
Declaration
public virtual void CompleteMultiStringQueuedCommand(Func<List<string>> multiStringReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.Collections.Generic.List<System.String>> | multiStringReadCommand |
CompleteRedisDataQueuedCommand(Func<RedisData>)
View Source
Declaration
public virtual void CompleteRedisDataQueuedCommand(Func<RedisData> redisDataReadCommand)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.RedisData> | redisDataReadCommand |
CompleteStringQueuedCommand(Func<String>)
View Source
Declaration
public virtual void CompleteStringQueuedCommand(Func<string> stringReadCommand)
Parameters
Type | Name |
---|---|
System.Func<System.String> | stringReadCommand |
CompleteVoidQueuedCommand(Action)
View Source
Declaration
public virtual void CompleteVoidQueuedCommand(Action voidReadCommand)
Parameters
Type | Name |
---|---|
System.Action | voidReadCommand |